package com.kun.oa.service;

import com.github.pagehelper.PageInfo;
import com.kun.oa.entity.Role;

/**
 * @author fangkun
 * @create 2023-04-27-11:01
 */
public interface IRoleService {
    PageInfo<Role> findByPage(int pageNum, int pageSize);

    Role findById(int id);

    boolean addPermission(int id, int[] permissions);
}
